from common import test_loc,sent_mail
import pytest
if __name__ == '__main__':
    test_loc()
    pytest.main(['./','-s','--html=baogao.html'])
    sent_mail(['baogao.html','log.txt'])